<?php

namespace app\shop\controller\company;
use app\shop\service\company\Team as TeamService;
/**
 * 团队风采
 */
class Team
{
    /**
     * 员工列表
     */
    public function classList(TeamService $TeamService)
    {
        return $TeamService->classList();
    }

    public function addClass(TeamService $TeamService)
    {
        $data = input();
        return $TeamService->addClass($data);
    }

    public function editClass(TeamService $TeamService)
    {
        $data = input();
        return $TeamService->editClass($data);
    }

    public function deleteClass(TeamService $TeamService)
    {
        $id = input('id');
        return $TeamService->deleteClass($id);
    }
    public function classForm(TeamService $TeamService)
    {
        // $id = input('id');
        // return $TeamService->classForm($id);
    }
    public function list(TeamService $TeamService)
    {
        $data = input();
        return $TeamService->list($data);
    }
    public function add(TeamService $TeamService)
    {
        $data = input();
        return $TeamService->add($data);
    }
    public function edit(TeamService $TeamService)
    {
        $data = input();
        return $TeamService->edit($data);
    }
    public function delete(TeamService $TeamService)
    {
        $id = input('id');
        return $TeamService->delete($id);
    }
    public function info(TeamService $TeamService)
    {
        $id = input('id');
        return $TeamService->info($id);
    }
}